package com.jdiv.samples.castlevania;

import com.jdiv.JProcess;

public class Barra extends JProcess {
 public boolean move=false;
public boolean die=false;
	public Barra() {
		this.file=Main.fpg_konami;
		this.graph=55;
		this.x=160;
		this.y=30;
	}

	@Override
	public void begin() {

	}
	
	public void loop(){
		
	if (move){
		y+=6;
		alpha--;

	}
	
	if (die) this.status=S_KILL;
	
	}

}
